From d1110762722b6a69b5d0d486b40d6e7131628110 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Thu, 12 Jun 2008 21:43:55 +0000 Subject: [PATCH] s/BABL_TOLERANCE/ s/BABL_ACCURACY/BABL_TOLERANCE/ * babl/babl-fish-path.c: (legal_error): s/BABL_TOLERANCE/ * docs/index-static.html.in: s/BABL_ACCURACY/BABL_TOLERANCE/ svn path=/trunk/; revision=331 --- ChangeLog | 5 +++++ babl/babl-fish-path.c | 4 ++-- docs/index-static.html.in | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 62f5fbe..9eb7868 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-12 Øyvind Kolås + + * babl/babl-fish-path.c: (legal_error): s/BABL_TOLERANCE/ + * docs/index-static.html.in: s/BABL_ACCURACY/BABL_TOLERANCE/ + 2008-06-12 Øyvind Kolås * babl/babl-fish-path.c: (legal_error): s/BABL_ERROR/BABL_ACCURACY/ diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index 821e1ce..d2cd4e7 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -67,7 +67,7 @@ static double legal_error (void) if (error != 0.0) return error; - env = getenv ("BABL_ACCURACY"); + env = getenv ("BABL_TOLERANCE"); if (env) error = atof (env); else @@ -100,7 +100,7 @@ static int max_path_length (void) * the shortest path in a graph where formats are the vertices * and conversions are the edges. However, there is an additional * constraint to the shortest path, that limits conversion error - * introduced by such a path to be less than BABL_ACCURACY. This + * introduced by such a path to be less than BABL_TOLERANCE. This * prohibits usage of any reasonable shortest path construction * algorithm such as Dijkstra's algorithm. The shortest path is * constructed by enumerating all available paths that are less diff --git a/docs/index-static.html.in b/docs/index-static.html.in index 925ed01..2b7918b 100644 --- a/docs/index-static.html.in +++ b/docs/index-static.html.in @@ -265,7 +265,7 @@ lab_buffer = malloc (pixel_count * 3 * 4); --> -

Through the environment variable BABL_ACCURACY you can control +

Through the environment variable BABL_TOLERANCE you can control a speed/performance trade off that by default is set very low (0.000001) values in the range 0.01-0.1 can provide reasonable preview performance by allowing lower numerical accuracy

. -- 2.30.2